Hungarian Notation - определение. Что такое Hungarian Notation
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое Hungarian Notation - определение

IDENTIFIER NAMING NOTATION (COMPUTER SCIENCE)
Hungarian Notation; Systems Hungarian; Systems Hungarian notation; Systems Hungarian Notation; Systems notation; Apps Hungarian; Apps Hungarian notation; Apps Hungarian Notation; Apps notation

Hungarian Notation         
<language, convention> A linguistic convention requiring one or more letters to be added to the start of variable names to denote scope and/or type. Hungarian Notation is mainly confined to Microsoft Windows programming environments, such as Microsoft C, C++ and Visual Basic. It was originally devised by {Charles Simonyi}, a Hungarian, who was a senior programmer at Microsoft for many years. He disliked the way that names in C programs gave no clue as to the type, leading to frequent programmer errors. According to legend, fellow programmers at Microsoft, on seeing the convoluted, vowel-less variable names produced by his scheme, said, "This might as well be in Greek - or even Hungarian!". They made up the name "Hungarian notation" (possibly with "reverse Polish notation" in mind). Hungarian Notation is not really necessary when using a modern strongly-typed language as the compiler warns the programmer if a variable of one type is used as if it were another type. It is less useful in {object-oriented programming} languages such as C++, where many variables are going to be instances of classes and so begin with "obj". In addition, variable names are essentially only comments, and thus are just as susceptible to becoming out-of-date and incorrect as any other comment. For example, if a signed short int becomes an unsigned long int, the variable name, and every use of it, should be changed to reflect its new type. A variable's name should describe the values it holds. Type and scope are aspects of this, but Hungarian Notation overemphasises their importance by allocating so much of the start of the name to them. Furthermore, type and scope information can be found from the variable's declaration. Ironically, this is particularly easy in the development environments in which Hungarian Notation is typically used. {Simonyi's original monograph (http://msdn.microsoft.com/library/techart/hunganotat.htm)}. {Microsoft VB Naming Conventions (http://support.microsoft.com/support/kb/articles/Q110/2/64.asp)}. (2003-09-11)
Hungarian notation         
Hungarian notation is an identifier naming convention in computer programming, in which the name of a variable or function indicates its intention or kind, and in some dialects its type. The original Hungarian notation uses intention or kind in its naming convention and is sometimes called Apps Hungarian as it became popular in the Microsoft Apps division in the development of Word, Excel and other apps.
Polish notation         
  • 125px
MATHEMATICAL NOTATION IN WHICH EVERY OPERATOR PRECEDES ALL OF ITS OPERANDS
Polish Notation; Lukasiewicz notation; Łukasiewicz notation; Prefix notation; PN (notation); Notacja polska; Normal Polish notation; NPN (notation); Warsaw notation; Prefix operator; Prefix expression; Prefixed notation; Polish prefix notation; Polish string; Polish notation string; Polish string notation
¦ noun Logic & Computing a system of formula notation without brackets or special punctuation, used to represent arithmetical operations.

Википедия

Hungarian notation

Hungarian notation is an identifier naming convention in computer programming in which the name of a variable or function indicates its intention or kind, or in some dialects, its type. The original Hungarian notation uses intention or kind in its naming convention and is sometimes called Apps Hungarian as it became popular in the Microsoft Apps division in the development of Word, Excel and other applications. When the Microsoft Windows division adopted the naming convention, they based it on the actual data type, and this convention became widely spread through the Windows API; this is sometimes called Systems Hungarian notation.

Hungarian notation was designed to be language-independent, and found its first major use with the BCPL programming language. Because BCPL has no data types other than the machine word, nothing in the language itself helps a programmer remember variables' types. Hungarian notation aims to remedy this by providing the programmer with explicit knowledge of each variable's data type.

In Hungarian notation, a variable name starts with a group of lower-case letters which are mnemonics for the type or purpose of that variable, followed by whatever name the programmer has chosen; this last part is sometimes distinguished as the given name. The first character of the given name can be capitalized to separate it from the type indicators (see also CamelCase). Otherwise the case of this character denotes scope.